WSAL\WP_Sensors\WP_Plugins_Themes_Sensor D

Total Complexity 173
Dependencies 3
Dependents 2
Total lines 1,090
Lines of code 631
Logical lines of code 247
Comment lines 335
Methods 26
Properties 5

Methods 26

Method Rating Maintainability Complexity Lines of code
plugin_created_post()
D
32 32 97
single_plugin_install()
B
39 16 60
bulk_plugin_update()
B
40 16 54
single_plugin_update()
A
42 13 50
theme_upgrade()
A
47 10 36
on_package_overwrite()
A
44 9 43
on_active_plugins_update()
A
55 9 20
on_upgrader_process_complete()
A
56 9 17
theme_install()
S
50 6 30
get_theme_by_name()
S
58 6 16
get_plugin_file_name()
S
58 6 15
event_theme_activated()
S
50 4 32
init()
S
56 5 15
get_event_type_for_post_type()
S
61 5 13
on_deleted_theme()
S
54 3 22
on_action_deleted_plugin()
S
55 3 21
on_deactivated_plugin()
S
54 3 20
on_activated_plugin()
S
54 3 20
extract_plugin_filename()
S
66 3 8
get_plugin_dir()
S
68 2 7
get_editor_link()
S
63 2 10
get_old_themes()
S
71 2 6
get_old_plugins()
S
71 2 6
get_all_plugins()
S
71 2 6
event_init()
S
77 1 4
on_action_delete_plugin()
S
76 1 3